home *** CD-ROM | disk | FTP | other *** search
/ Just Call Me Internet / Just Call Me Internet.iso / com / computer / casio_st / prog_fx / oisac2 / l_s6210.txt < prev    next >
Text File  |  1994-03-01  |  347b  |  12 lines

  1. 5 ONERRORGOTO500
  2. 10 y=ABSx:p=0
  3. 15 IFy>100 THEN60
  4. 20 IFy<1.9 THEN50
  5. 30 FORi=18 TO1 STEP-1:p=i/(y+p):NEXT
  6. 40 p=EXP(-.5*y*y)/SQR(2*PI)/(y+p):GOTO60
  7. 50 p=(1+y*(.049867347+y*(.0211410061+y*(.0032776263+y*(.0000380036+y*(.0000488906+y*.000005383))))))^-16/2
  8. 60 IFx<0 THENp=1-p
  9. 80 y=p:RETURN
  10. 500 IFERR=1 THENCLS:ONERRORGOTO0
  11. 510 sr=1:RESUME80
  12.